x86/MCE: mctelem_init() cleanup
authorJan Beulich <jbeulich@suse.com>
Mon, 10 Mar 2014 10:12:30 +0000 (11:12 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 10 Mar 2014 10:12:30 +0000 (11:12 +0100)
commita9b87b3ccfdc7e2a6767e2ce7dcbe5c0b035acc2
tree14f118bd9a7cb0795e4c33fe049738f3e83b7868
parent4509ada6ba1f09cc8f4fa23e009e7e5a963b6086
x86/MCE: mctelem_init() cleanup

The function can be __init with its caller taking care of only calling
it on the BSP. And with that all its static variables can be dropped.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper@citrix.com>
Reviewed-by: Liu Jinsong <jinsong.liu@intel.com>
xen/arch/x86/cpu/mcheck/mce.c
xen/arch/x86/cpu/mcheck/mctelem.c
xen/arch/x86/cpu/mcheck/mctelem.h